Holds the requirements for the composition target. More...
#include <kanzi/core.ui/graphics2d/composition_requirements.hpp>
Public Attributes | |
bool | alpha |
Whether the content requires alpha channel. | |
bool | depth |
Whether the content requires depth buffer. | |
unsigned int | numSamples |
Number of MSAA samples for the content buffer. | |
Vector2 | size |
Required size of the source content to be used by the composition or effect. | |
bool | stencil |
Whether the content requires stencil buffer. | |
Holds the requirements for the composition target.
Vector2 kanzi::CompositionContentRequirements::size |
Required size of the source content to be used by the composition or effect.
bool kanzi::CompositionContentRequirements::alpha |
Whether the content requires alpha channel.
bool kanzi::CompositionContentRequirements::depth |
Whether the content requires depth buffer.
bool kanzi::CompositionContentRequirements::stencil |
Whether the content requires stencil buffer.
Number of MSAA samples for the content buffer.